/*
 * @Description: 火车票订单统计
 * @Version: 2.0
 * @Autor: 许国辉
 * @Date: 2023-09-08 16:13:39
 * @LastEditors: 许国辉
 * @LastEditTime: 2023-09-08 16:33:17
 */
import { defHttp } from '/@/utils/http/axios';
import {
  TrainOrderStatisticsParams,
  TrainOrderStatisticsModel,
} from './model/TrainOrderStatisticsModel';
// import { getNewDate } from '/@/api/travelItinerary/getDateAPI';
enum Api {
  getTrainOrderStatistics = '/trainOrderStatistics/getTrainOrderStatistics',
}
export function getCarOrderByParams(params: TrainOrderStatisticsParams) {
  return defHttp.post<TrainOrderStatisticsModel>({
    url: Api.getTrainOrderStatistics,
    params,
    headers: {
      ignoreCancelToken: true,
    },
  });
}
